gdk/wayland: Don't add GDK_META_MASK to gdk mod masks if MOD1 is set
authorRui Matos <tiagomatos@gmail.com>
Wed, 11 Jan 2017 17:33:11 +0000 (18:33 +0100)
committerBastien Nocera <hadess@hadess.net>
Tue, 17 Jan 2017 17:24:28 +0000 (18:24 +0100)
commit515b71f14c69b916789e418e75beb5936ce057e5
tree7fd2e6edf16d8c2dfc77f304144bcb597cb1bf3e
parent7ca6d7585fb7ebd5d3d7bb31bcde92e36f75d419
gdk/wayland: Don't add GDK_META_MASK to gdk mod masks if MOD1 is set

Gtk+ treats MOD1 as a synonym for Alt, and does not expect it to be
mapped around, so we should avoid adding GDK_META_MASK if MOD1 is
already included to avoid confusing gtk+ and applications that rely on
that behavior.

https://bugzilla.gnome.org/show_bug.cgi?id=770112
gdk/wayland/gdkkeys-wayland.c